<script>
  with(document)
  {
    write("Child frame named "+window.name);
    write("<p>The parent name "+window.parent.location);
  }
</script>
